﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Agile.Manager.Windows.Model;

namespace Agile.Manager.Hub
{
    public static class TaskHub
    {
        public static event EventHandler TaskEditDetailInfo;

        public static void EditDetailInfo(Task _task)
        {
            SelectedTask = _task;

            if (TaskEditDetailInfo != null)
                TaskEditDetailInfo(null, null);
        }

        public static Task SelectedTask { get; set; }
    }
}
